package com.ruoyi.eservice.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价列表对象 eservice_comments
 *
 * @author Jackson
 * @date 2022-11-14
 */
@TableName(value = "eservice_comments")
public class Comments extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    /**
     * IdType.AUTO          数据库ID自增
     * IdType.INPUT         用户输入ID
     * IdType.ASSIGN_ID     全局唯一ID，内容为空自动填充（雪花算法）
     * IdType.ASSIGN_UUID   全局唯一ID，内容为空自动填充
     */
    @TableId(type = IdType.AUTO)
    private Long commentsId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String commedContent;

    public void setCommentsId(Long commentsId)
    {
        this.commentsId = commentsId;
    }

    public Long getCommentsId()
    {
        return commentsId;
    }
    public void setCommedContent(String commedContent)
    {
        this.commedContent = commedContent;
    }

    public String getCommedContent()
    {
        return commedContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentsId", getCommentsId())
            .append("commedContent", getCommedContent())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
